package com.fy.paper.service;

import com.fy.core.vo.ApiRest;
import com.fy.paper.entity.Paper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fy.paper.vo.DtkVo;

/**
 * <p>
 * 试卷 服务类
 * </p>
 *
 * @author hxd
 * @since 2023-06-20
 */
public interface PaperService extends IService<Paper> {
    /**
     * 创建试卷
     * @param examId
     * @return
     */
    public ApiRest<String> create(String examId);

    /**
     * 根据试卷id获取答题卡
     * @param paperId
     * @return
     */
    public ApiRest<DtkVo> dtk(String paperId);
}
